package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Orderdetails;
import org.hxyjs.entity.Orderdetails;
import org.hxyjs.entity.OrderdetailsExample;

public interface OrderdetailsMapper {
    long countByExample(OrderdetailsExample example);

    int deleteByExample(OrderdetailsExample example);

    int deleteByPrimaryKey(String odno);

    int insert(Orderdetails record);

    int insertSelective(Orderdetails record);

    String getMaxOdno();

    List<Orderdetails> getOrderdetailsByPage(Map map);

    List<Orderdetails> selectByOrrno(String orrno);

    List<Orderdetails> selectByExample(OrderdetailsExample example);

    Orderdetails selectByPrimaryKey(String odno);

    int updateByExampleSelective(@Param("record") Orderdetails record, @Param("example") OrderdetailsExample example);

    int updateByExample(@Param("record") Orderdetails record, @Param("example") OrderdetailsExample example);

    int updateByPrimaryKeySelective(Orderdetails record);

    int updateByPrimaryKey(Orderdetails record);
}